package ro.myApp.security.service.user;

import javax.annotation.PostConstruct;
import javax.ejb.Local;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;

import ro.myApp.security.entities.User;
import ro.myApp.security.service.basic.SecurityAccessService;

@Remote(value=UserAccessService.class)
@Local(value=UserAccessServiceLocal.class)
@Stateless
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public class UserAccessServiceImpl 
	extends SecurityAccessService<User> 
	implements UserAccessService{
	
	@Override
	@PostConstruct
	protected void init(){
		clazz = User.class;
	}

}
